package org.lanqiao.service;

import com.github.pagehelper.PageInfo;
import org.lanqiao.entity.AcActivity;
import org.lanqiao.entity.Activity;
import org.lanqiao.util.Result;

import java.awt.geom.Point2D;
import java.util.List;
import java.util.Map;

public interface ActivityService {
    List<Activity> getAllsite(String localIp);

    String getMap(String ip);

    PageInfo<AcActivity> listGetActivity(String userEmail,String name, int currentPage);

    Result addActivity(Activity activity);

    public List<Map> getAllActivity();

    public void updateAct(String id);

    List<Map> getByNameActivity(String username);

    Result getActivityName(String activityName);

    Activity getActivityTime(String activityId);

    void updateAc(String id, String name, String sndtime);

    Activity getActivityById(String activityId);

    Activity queryStatus(String activityId);

    List<Map>  getGiftsByUser(String wxId,String activityId);
}
